package com.carryking.smart.rpc.discover;

import com.carryking.smart.rpc.entity.ServiceInfoEntity;

/**
 * 服务注册和发现
 * Created by jincarry on 2018/1/11.
 */
public interface DiscoverService {

    boolean regisService(String serviceName);

    ServiceInfoEntity getServiceInfoByName(String serviceName);
}
